<template>
  <div>
    <zz-dialog
      title= '所有图片'
      :visible=visible
      :showFoot=false
      @close="close">
      <slot>
        <zz-preview
          margin="10px 10px 0 0"
          v-for="file in itemList"
          :item="file"
          :info=true
          :key="file.id"
          :isAuth = false
          :isFilling = true
          :th = 4
          height="36px"
          width="36px"></zz-preview>
      </slot>
    </zz-dialog>
  </div>
</template>

<script>
  export default {
    name: '',
    props: {
      visible: {
        type: Boolean,
        default: false
      },
      itemList: {
      }
    },
    watch: {
      visible (status) {
        if (status) {
        }
      }
    },
    methods: {
      close () {
        this.$emit('close')
      }
    }
  }
</script>
<style lang="scss" scoped>
</style>
